package com.horsen.service.edu.model.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 讲师修改DTO
 *
 * @author Horsen
 */
@Data
@ApiModel("讲师修改DTO")
public class TeacherUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("讲师ID")
    private String id;

    @ApiModelProperty("讲师姓名")
    private String name;

    @ApiModelProperty("讲师资历")
    private String career;

    @ApiModelProperty("授课风格")
    private String style;

    @ApiModelProperty("头衔(1初级讲师,2中级讲师,3高级讲师,4首席讲师)")
    private Integer level;

    @ApiModelProperty("讲师头像")
    private String avatar;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("入驻时间")
    @JsonFormat(pattern = "yyyy.MM.dd")
    private Date joinDate;
}
